<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .center{
            width: 500px;
            height: 400px;
            background-color: pink;
            position: relative;
        }
        .left{
            background-color: rgba(0,0,0,0.3);
            width: 20px;
            height: 20px;
            position: absolute;
            top: 50%;
            text-align: center;
            margin-top: -10px;
        }
        .right{
            background-color: rgba(0,0,0,0.3);
            width: 20px;
            height: 20px;
            position: absolute;
            top: 50%;
            right: 0;
            text-align: center;
            margin-top: -10px;
        }
        ul{
            width: 100px;
            height: 20px;
            padding: 5px;
            position: absolute;
            bottom: 30px;
            left: 50%;
            margin-left: -60px;
            /* text-align: center; */
            background-color: rgba(0,0,0,0.3);
        }
        ul li{
            background-color: #fff;
            list-style: none;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            margin:5px;
            float: left;
        }
        .current{
            background-color: #ff5000;
        }
    </style>
</head>
<body>
    <div class="center">
        <span class="left">&lt;</span>
        <span class="right">&gt;</span>
            <ul>
                <li class="current"></li>
                <li></li>
                <li></li>
                <li></li>
                <li></li>
            </ul>
    </div>
</body>
</html>